package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 dxm_chuku_detail
 * 
 * @author 丁宪明
 * @date 2024-02-26
 */
public class DxmChukuDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 出库主键 */
    @Excel(name = "出库主键")
    private Long chukuid;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsname;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal allprice;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setChukuid(Long chukuid) 
    {
        this.chukuid = chukuid;
    }

    public Long getChukuid() 
    {
        return chukuid;
    }
    public void setGoodsname(String goodsname) 
    {
        this.goodsname = goodsname;
    }

    public String getGoodsname() 
    {
        return goodsname;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setAllprice(BigDecimal allprice) 
    {
        this.allprice = allprice;
    }

    public BigDecimal getAllprice() 
    {
        return allprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chukuid", getChukuid())
            .append("goodsname", getGoodsname())
            .append("num", getNum())
            .append("price", getPrice())
            .append("allprice", getAllprice())
            .toString();
    }
}
